<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    * {
       margin: 0px;
        padding: 0px; 
    }
    body {
        margin: 0px;
        padding: 0px; 
  background-color: royalblue;

    }
    .diyi{
        width: 100%;
        height: 44px;
        border: 1px solid;
        background: rgba(0,0,0,0.92);
        position:fixed;
        z-index: 1;
    }
    div ul li{
        line-height:44px;
        height: 44px;
        float: left;
        margin: 0 auto;
        list-style: none;
        margin-left: 42px;
        font-size: 12px;
        color: rgba(240, 248, 255, 0.534);

    
    }
    div ul li:hover {
        color: #f5f5f7cb;
        transition: all 0.5s ease-in-out;
 
    }
    div ul {
        margin: 0 auto;

        width: 996px;
        height: 44px;
    }
    
    .hong {
        width: 100%;
        height: 50px;
    
       
        background-color: #E34140;
    }
    .shenti {
        position:relative;
        top: 46px;
    }
    .ziti {
        text-align: center;
        line-height: 48px;
        color: #fff;
    }

    .apple{
        display: block;
        color: rgba(255, 14, 14, 0);
        background-image: url(./img/apple.svg);
        background-color: rgba(196, 196, 196, 0.92);
        width: 40px;
        height: 40px;
    }
    a:hover{
        color: rgba(185, 185, 185,0);
    }
</style>
<body>
    <div class="diyi">
        <ul>
            <li><a href="#" class="apple"></a></li>
            <li>商店</li>
            <li>Mac</li>
            <li>iPad</li>
            <li>iPhone</li>
            <li>Watch</li>
            <li>AirPods</li>
            <li>家具</li>
            <li>Apple独家</li>
            <li>配件</li>
            <li>技术支持</li>
            <li>2</li>
            <li>3</li>
        </ul>
    </div>
    <div class="shenti">
        <div class="hong">
            <p class="ziti">提早选购，节日好礼任你挑。</p>
        </div>
    </div>
        
    

</body>
</html>